<?php

namespace app\admin\model;

use app\common\model\BaseModel;
use think\model\relation\BelongsTo;

class GroupUserAuth extends BaseModel
{
    protected $deleteTime = false;

    public function auth(): BelongsTo
    {
        return $this->belongsTo(GroupAuth::class, 'group_auth_id');
    }

    public function user(): BelongsTo
    {
        return $this->belongsTo(GroupUser::class, 'group_user_id');
    }
}